import http from '@/http/axios';

export function addRole(params) {
  return http.request({
    url: '/role/addRole',
    method: 'POST',
    params
  })
}

export function getRole() {
  return http.request({
    url:'/role/getRole',
    method:'GET',
  })
}
